home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / Source / HyperCuber 2.0 Source / CEnhancedWindow.h < prev    next >
Encoding:
Text File  |  1994-04-29  |  849 b   |  34 lines  |  [TEXT/KAHL]

  1. //|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2. //| CEnhancedWindow.h
  3. //|
  4. //| This file contains the interface to an enhanced window.  This window
  5. //| is more aware of multiple screens that a normal window, and can place
  6. //| and zoom itself intelligently depending on the screen setup.
  7. //|___________________________________________________________________________
  8.  
  9.  
  10.  
  11. CLASS CWindow;
  12.  
  13. class CEnhancedWindow : public CWindow
  14.     {
  15.  
  16.     short title_bar_height;
  17.  
  18.     virtual void FindIdealSize(Rect *rect);
  19.  
  20. public:
  21.     
  22.     void IEnhancedWindow(short WINDid, Boolean aFloating,
  23.                         CDesktop *anEnclosure, CDirector *aSupervisor);
  24.  
  25.     virtual void Zoom(short zoomState);
  26.     virtual void PlaceWithVerify(Rect *bounds);
  27.     virtual void Place(Rect *bounds);
  28.     virtual void GetRect(Rect *window_rect);
  29.     virtual void MakeFullScreen(void);
  30.     
  31.     };
  32.  
  33.  
  34.